package Tree;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-05-29
 * Time: 7:40
 */
public class Test {
    public static void main(String[] args) {
        Tree tree =new Tree();
        Tree.TreeNode root=tree.createTree();
//        System.out.println(tree.size(root));
//        tree.size2(root);
//        System.out.println(tree.count);
//        tree.pre(root);
//        System.out.println(tree.getHeight(root));
       boolean t =  tree.isValidBST(root);
        System.out.println(t);
    }
}
